//导入入口文件
import Vue from 'vue';

//导入路由模块
import VueRouter from 'vue-router'

//安装路由
Vue.use(VueRouter)

import app from './App.vue'
//顶部栏组件,轮播图组件
import { Header,Swipe, SwipeItem } from 'mint-ui';

import './lib/mui/css/mui.min.css'

import './lib/mui/css/icons-extra.css'
//mintui注册组件
Vue.component(Header.name, Header);
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);

//导入自己的路由模块
import router from './router.js'

var vm = new Vue({
  el: '#app',
  render: c => c(app),
  router
})